package com.ruoyi.eduadmin.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 转班记录对象 it_change_class_log
 * 
 * @author ruoyi
 * @date 2022-12-28
 */
public class ItChangeClassLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 名字 */
    @Excel(name = "名字")
    private String name;

    /** 原班级 */
    @Excel(name = "原班级")
    private Long oldClassId;

    /** 原班级名 */
    private String oldClass;

    /** 转入班级 */
    @Excel(name = "转入班级")
    private Long toClassId;

    public String getOldClass() {
        return oldClass;
    }

    public void setOldClass(String oldClass) {
        this.oldClass = oldClass;
    }

    public String getToClass() {
        return toClass;
    }

    public void setToClass(String toClass) {
        this.toClass = toClass;
    }

    /** 转入班级名 */
    @Excel(name = "转入班级")
    private String toClass;

    /** 学生状态 */
    @Excel(name = "学生状态")
    private Integer studentStatusId;

    /** 转班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "转班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date date;

    /** 备注 */
    @Excel(name = "备注")
    private String remarks;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setOldClassId(Long oldClassId)
    {
        this.oldClassId = oldClassId;
    }

    public Long getOldClassId()
    {
        return oldClassId;
    }
    public void setToClassId(Long toClassId)
    {
        this.toClassId = toClassId;
    }

    public Long getToClassId()
    {
        return toClassId;
    }
    public void setStudentStatusId(Integer studentStatusId) 
    {
        this.studentStatusId = studentStatusId;
    }

    public Integer getStudentStatusId() 
    {
        return studentStatusId;
    }
    public void setDate(Date date) 
    {
        this.date = date;
    }

    public Date getDate() 
    {
        return date;
    }
    public void setRemarks(String remarks) 
    {
        this.remarks = remarks;
    }

    public String getRemarks() 
    {
        return remarks;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("oldclassId", getOldClassId())
            .append("toclassId", getToClassId())
            .append("studentStatusId", getStudentStatusId())
            .append("date", getDate())
            .append("remarks", getRemarks())
            .toString();
    }
}
